package me.zhengjie.modules.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import me.zhengjie.modules.app.domain.GameRounds;
import me.zhengjie.modules.app.domain.dto.GameRoundsDto;
import me.zhengjie.modules.app.domain.dto.GameRoundsStatisticsDto;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface GameRoundsMapper extends BaseMapper<GameRounds> {
    Integer findByRecordIdCount(String recordId);

    GameRoundsDto findOne(Long id);

    GameRoundsStatisticsDto totalRoundsInfo(Long userId);
}